package com.students.service;

import com.students.pojo.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.students.pojo.RespBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author caohanqing
 * @since 2022-04-06
 */
public interface IDepartmentService extends IService<Department> {

    //获取部门信息
    List<Department> getAllDepartments();

    //添加部门
    RespBean addDep(Department dep);

    //deleteDep
    RespBean deleteDep(Integer id);
}
